package com.mbti.youmore.service;

import com.mbti.youmore.entity.Coupon;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mbti.youmore.entity.User;

import java.util.List;

/**
* @author Guqier
* @description 针对表【t_coupon】的数据库操作Service
* @createDate 2024-05-08 20:30:45
*/
public interface CouponService extends IService<Coupon> {
    int saveCoupon(Coupon coupon);

    List<Coupon> CouponList(int id);

    int exchangeCoupon(Integer userId, Integer couponId);

    int insert(Integer userId, Integer couponId);
}
